package com.dexgdx.game.action;

public class SteadyAction extends AbstractAction {

	private int steadyTime;
	private int steadyCurrentTime;
	
	public SteadyAction(int steadyTime) {
		this.steadyTime = steadyTime;
		this.steadyCurrentTime = 0;
	}
	
	@Override
	public boolean isFinished() {
		return steadyTime <= steadyCurrentTime;
	}

	@Override
	public boolean hasStarted() {
		return true;
	}

	@Override
	public void runNextStep() {
		steadyCurrentTime++;
	}

	@Override
	public void initialize() {

	}

}
